-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demo instrument separation for Sync template #58
base: main
Are you sure you want to change the base?
Conversation
…S/BITS into switch_case_organization
453bdd2
to
aaef8c2
Compare
Pull Request Test Coverage Report for Build 13796866742Details
💛 - Coveralls |
@@ -17,8 +17,8 @@ | |||
import apstools.callbacks | |||
import apstools.utils | |||
|
|||
from ..core.run_engine_init import RE | |||
from ..utils.config_loaders import iconfig | |||
from bits.core.run_engine_init import RE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking for similar enable
check, as in nexus above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think an enable belongs here. The run engine should always be enabled.
@@ -10,7 +10,7 @@ | |||
|
|||
import databroker | |||
|
|||
from ..utils.config_loaders import iconfig | |||
from bits.utils.config_loaders import iconfig |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting puzzled here. If this part is in bits (and not instrument), then keep the relative path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment applies below, too
@@ -64,7 +67,7 @@ OPHYD: | |||
### Control layer for ophyd to communicate with EPICS. | |||
### Default: PyEpics |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to describe the default if value is always provided.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we remove from the iconfig
Taking a bit of time to understand until reading this: BITS/src/bits/utils/create_new_instrument.py Lines 3 to 9 in 54230fb
Probably need to try out the full process to evaluate. How to use this branch as a template for a new repo? |
Co-authored-by: Pete R Jemian <[email protected]>
Co-authored-by: Pete R Jemian <[email protected]>
I think a lot of the comments are derived from #47 (which was used as base for this commit here). I will wait for that one to be merged before fixing the comments above. |
This is not working yet. It is just a place holder for now. |
…ting if a variable is imported of not based on iconfig
I suggest we stop this PR here and open a new one for the init / sync functionality. |
I deactivated the python bits of the init behaviour but we could replicate
it locally.
Feel free to merge if this PR is on the direction you want to go.
…On Tue, Mar 11, 2025 at 4:20 PM Pete R Jemian ***@***.***> wrote:
I believe the only we can test this as a template is to merge this PR. The
page to *create a new repo from this template* doesn't show an option for
a different branch. Either default or all:
image.png (view on web)
<https://github.com/user-attachments/assets/2b1a00ba-57a8-461a-a797-457fcf89dae6>
Any additional work will go into a new issue.
—
Reply to this email directly, view it on GitHub
<#58 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFMPQ6N7BG7IGNUULIUHML2T5HQHAVCNFSM6AAAAABYXMQJZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJVG4ZTEMBUHE>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
[image: prjemian]*prjemian* left a comment (BCDA-APS/BITS#58)
<#58 (comment)>
I believe the only we can test this as a template is to merge this PR. The
page to *create a new repo from this template* doesn't show an option for
a different branch. Either default or all:
image.png (view on web)
<https://github.com/user-attachments/assets/2b1a00ba-57a8-461a-a797-457fcf89dae6>
Any additional work will go into a new issue.
—
Reply to this email directly, view it on GitHub
<#58 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFMPQ6N7BG7IGNUULIUHML2T5HQHAVCNFSM6AAAAABYXMQJZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJVG4ZTEMBUHE>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Description
Separates demo_instrument from the rest of bits core
Fixes #56
Type of change
Choose which options apply, and delete the ones which do not apply.